package com.sright.bcard.content.biz.service;

import com.sright.bcard.common.service.share.dto.LoginUser;
import com.sright.bcard.content.biz.manager.UserTagManager;
import com.sright.bcard.content.share.service.UserTagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class UserTagServiceImpl implements UserTagService {

    @Autowired
    private UserTagManager userTagManager;

    @Override
    public Boolean removeUserTag(Long tagId) {
        return userTagManager.removeUserTag(tagId);
    }

    @Override
    public Boolean addUserTag(Long userId, String tags, LoginUser loginUser) {
        return userTagManager.addUserTag(userId, tags, loginUser);
    }
}
